package com.ktwlsoft.archivemanage.domain.dao.repository.guiBusiness;

import java.util.List;

import com.ktwlsoft.archivemanage.domain.dao.entity.guiBusiness.GuiGuidanceItem;
import com.ktwlsoft.archivemanage.payload.guiBusiness.MendListItemResult;
import org.apache.ibatis.annotations.Mapper;
import com.ktwlsoft.archivemanage.domain.dao.entity.guiBusiness.GuiGuidanceItemMendList;

/**
 * gui_guidance_item_mend_list--指导条目整改
 *
 * @author zhuhe on 2020-04-28 17:58:06
 * @version 1.0
 */
@Mapper
public interface IGuiGuidanceItemMendListMapper {
	
	/**
	 * 查询列表 on 2020-04-28 17:58:06
	 * @param guiGuidanceItemMendList guiGuidanceItemMendList
	 * @return List<GuiGuidanceItemMendList>
	 */
	List<GuiGuidanceItemMendList> findList(GuiGuidanceItemMendList guiGuidanceItemMendList);

	/**
	 * 根据id查询信息 on 2020-04-28 17:58:06
	 * @param id id
	 * @return GuiGuidanceItemMendList
	 */
	GuiGuidanceItemMendList getById(Long id);

	/**
	 * 详情 on 2020/4/29 17:35
	 *
	 * @param guiGuidanceItem guiGuidanceItem
	 * @return List<MendListItemResult>
	 */
	List<MendListItemResult> getDetails(GuiGuidanceItem guiGuidanceItem);

	/**
	 * 根据整改ID查询信息 on 2020-04-28 17:58:06
	 * @param mendListId	整改ID
	 * @return GuiGuidanceItemMendList
	 */
	List<GuiGuidanceItemMendList> getByMendListId(Long mendListId);

	/**
	 * 根据id删除信息 on 2020-04-28 17:58:06
	 * @param id id
	 * @return int
	 */
	int deleteById(Long id);

	/**
	 * 根据id集合批量删除信息 on 2020-04-28 17:58:06
	 * @param ids ids
	 * @return int
	 */
	int deleteByIds(List<Long> ids);

	/**
	 * 插入 on 2020-04-28 17:58:06
	 * @param guiGuidanceItemMendList guiGuidanceItemMendList
	 * @return int
	 */
    int insert(GuiGuidanceItemMendList guiGuidanceItemMendList);

	/**
	 * 批量插入 2020-04-28 17:58:06
	 *
	 * @param list list
	 * @return int
	 */
	int manyInsert(List<GuiGuidanceItemMendList> list);

	/**
	 * 更新 on 2020-04-28 17:58:06
	 * @param guiGuidanceItemMendList guiGuidanceItemMendList
	 * @return int
	 */
    int update(GuiGuidanceItemMendList guiGuidanceItemMendList);

	/**
	 * 根据整改id删除信息 on 2020-04-28 17:58:06
	 * @param mendListId mendListId
	 * @return int
	 */
	int deleteByMendListId(Long mendListId);
}
